package com.hc.model.code04.test4;

/**
 * @version v1.0
 * @ClassName: Manager
 * @Description: 主管类（具体审批者类）
 * @Author: HC
 */
public class Manager extends Handler{

    public Manager() {
        super(Handler.NUM_ONE, Handler.NUM_SEVEN);
    }

    @Override
    protected void handleLeave(LeaveRequest leave) {
        System.out.println(leave.getName() + "请假" + leave.getNum() + "天，原因：" + leave.getContext());
        System.out.println("主管审批：同意");
    }
}
